package com.topisv.tms.repository;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.LogosticsInfo;


/**
 * 收件人信息/发件人信息Dao
 * @author hwx
 *
 */
public interface LogosticsInfoDao extends PagingAndSortingRepository<LogosticsInfo, Long>{
	
	@Query("select r from LogosticsInfo r where r.expressNo=?1 and r.aboutCode=?2 and r.logosticsInfo=?3")
	LogosticsInfo findByExpressNoAndLogosticsInfo(String expressNo,String aboutCode,String logosticsInfo);
}
